<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $users = User::factory(100)->create();
        $user = $users[0];
        $user['name'] = '袁浩';
        $user['mobile'] = 18090900235;
        $user->save();
        $user = $users[1];
        $user['name'] = '后盾人';
        $user['mobile'] = 18090900236;
        $user->save();
    }
}
